package cn.tedu.smartos.family_user.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class PositionAlertRecord {
    @ApiModelProperty(value = "预警ID")
    private Long alertId;
    @ApiModelProperty(value = "老人用户ID")
    private Long elderlyUserId;
    @ApiModelProperty(value = "接收预警的家属ID")
    private Long familyUserId;
    @ApiModelProperty(value = "触发的电子围栏ID")
    private Long fenceId;
    @ApiModelProperty(value = "关联的位置记录ID")
    private Long recordId;
    @ApiModelProperty(value = "预警类型:BOUNDARY-越界")
    private String alertType = "BOUNDARY";
    @ApiModelProperty(value = "预警内容（如：离开家围栏）")
    private String alertContent;
    @ApiModelProperty(value = "预警时间")
    private Date alertTime;
    @ApiModelProperty(value = "处理状态:0-未处理，1-已处理")
    private Integer handleStatus = 0; // 0-未处理
    @ApiModelProperty(value = "处理时间")
    private Date handleTime;
}